<div class="action-dialog-model-fixed-body">
<div id="printDIV_PAY">
	<h3 class="tac" align="center">
		<@select type="select" dataSouceType="pay_company" name="payCompany" value="${entity.payCompany}" renderonly="true"/>
	<br/>
	        380金服付款申请 
	</h3>
 	<div class="mtb20"> 
     <table cellspacing="0" cellpadding="0" border="0" align="center" width="90%">
     	<tr>				
                <td align="left">申请单号:${entity.billCode}</td>
                <td align="center">流程状态:<@select dataSouceType="LCZT" class="tabInp" name="payType" value="${entity.billStatus}" renderonly="true"/></td>
                <td align="right">打印日期 :${printDate}</td>
       </tr>
     </table>
     <div style="margin:8px 0;"><strong>收款方信息如下:</strong></div>
     <table width="90%" cellspacing="0" cellpadding="0" border="1" align="center" style="line-height:30px;font-size:12px; margin-top:5px;">
              <tbody>
                 <tr>				
                    <td width="30%" align="right"><span style="padding-right:5px">	户名:</span></td>
                    <td><span style="padding-left:5px">${entity.collectionUserName}</span></td>

                 </tr>
                 <tr>				
                    <td align="right"><span style="padding-right:5px">账号:</span></td>
                    <td><span style="padding-left:5px">	${entity.collectionAccount}</span></td>
                 </tr>
 				<tr>				
                    <td align="right"><span style="padding-right:5px">金额:</span></td>
                    <td><span style="padding-left:5px">	 ${entity.payAmount}</span></td>
                 </tr>
                 
                 <tr>				
                    <td align="right"><span style="padding-right:5px">开户行:</span></td>
                    <td><span style="padding-left:5px">	 ${entity.collectionBankName}</span></td>
                 </tr>
                 <tr>				
                    <td align="right"><span style="padding-right:5px">汇入行地点:</span></td>
                    <td><span style="padding-left:5px">	 ${entity.collectionBankAddress}</span></td>
                 </tr>            
                 <tr>				
                    <td align="right"><span style="padding-right:5px">付款备注:</span></td>
                    <td><span style="padding-left:5px">	 ${entity.payRemark}</span></td>
                 </tr>
                 <tr>				
                    <td align="right"><span style="padding-right:5px">付款时间:</span></td>
                    <td><span style="padding-left:5px">	${printDate}(打印日当天15:00之前) </span></td>
                 </tr>
            </tbody>
         </table>
         	<div style="margin:8px 0;"><strong>明细信息如下:</strong></div>
	</div>
	<div class="detailsBox"> <!--审核历史--> 
 		<div class="action-ajax-load" data-url="${agreeUrl}"></div> 
 	</div>
</div>
<div class="mt20 scBtn" style="text-align:center;">
	 <button onclick="myPrint(document.getElementById('printDIV_PAY'))" class=" btn_auto_30 btn_blue">打印</button>
	 <div style="color:red;">(如需打印审核记录，请手动点击展开)</div>
</div>
	 
	 <script>
function myPrint(obj){
    var type="${type}";
    var url = "/transferAccountsRest/print?id=${entity.id}";
    var newWindow=window.open(url,"_blank");//打印窗口要换成页面的url
    var docStr = obj.innerHTML;
    newWindow.document.write(docStr);
    newWindow.document.close();
    newWindow.print();
    newWindow.close();
}
</script>
</div>